-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be more strict with Mypy #293
Conversation
7c0e189
to
9fefbc3
Compare
@@ -267,9 +267,15 @@ def __len__(self) -> int: | |||
class State: | |||
name: str | |||
type: DataType | |||
value: str | None = None | |||
value: None | int | float | str | bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tetienne I think this was the mistake that messed up the core PR...
lambda: boto3.client( | ||
"cognito-idp", config=Config(region_name=NEXITY_COGNITO_REGION) | ||
), | ||
client = boto3.client( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tetienne why did this one get removed? This is currently breaking Nexity login.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a typing error, and cannot found someone using our syntax, while this one yes :S
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I resolved it in a new PR :)
* Be more strict with mypy * Update State definition * fix one mypy error * Remove (hopefully) unneccessary Lambda * Fix mypy issues * Improve mypy typing Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
No description provided.